package com.xhu.dao;

import com.xhu.bean.pojo.SalesPlan;

import java.sql.SQLException;
import java.util.List;

public interface SpDao {
    List<SalesPlan> findAll() throws SQLException;

    int add(SalesPlan salesPlan);

    List<SalesPlan> queryPage(Integer page, Integer limit);

    int subm(String saleplan_id);

    int upData(SalesPlan salesPlan, String saleplan_id);

    int del(String saleplan_id);

    List<SalesPlan> queryPage(Integer start, Integer limit, String search_name);
}
